﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartSpace.Core
{
    public class Privilege : ICodeEntity
    {
        public Guid Id { get; set; }
        public string Code { get; set; }
        public Guid SiteId { get; set; }
        public string Type { get; set; }
        public Guid? RefId { get; set; }
        /// <summary>
        /// 权限所属于的业务模块
        /// </summary>
        public string RefModule { get; set; }
        public string Caption { get; set; }
        public string Description { get; set; }

        public void Validation()
        {
        }
    }
}
